package io.renren.modules.lanling.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.lanling.entity.QuestionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 题目记录表（记录顺序练习的题目）
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-10-22 10:28:14
 */
public interface QuestionService extends IService<QuestionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    QuestionEntity queryObject(@Param("id") Integer id);

    Boolean update(QuestionEntity questionEntity);

    void deleteBySubjectId(@Param("subjectId") int subjectId);
}

